package com.heaven1949.tmall.order.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.heaven1949.tmall.order.dto.OrderDTO;
import com.heaven1949.tmall.order.dto.OrderPageQueryDTO;
import com.heaven1949.tmall.order.entity.OrderEntity;

/**
 * 订单信息service接口
 *
 * @author zhangjian
 * @date 2023-03-08 16:28:35
 */
public interface IOrderService extends IService<OrderEntity> {

    /**
     * 分页查询
     *
     * @param dto
     * @return
     */
    IPage<OrderEntity> pageQuery(IPage page, OrderPageQueryDTO dto);

    /**
     * 明细查询
     *
     * @param id
     * @return
     */
    OrderDTO detail(Long id);

}